<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>固定定义</title>
    <style>
        #d1{
            width: 100%;
            height: 100px;
            background-color: cyan;
            position: fixed;
            top:0;left:0;
        }
        #d2{
            width: 20%;
            height: 40%;
            background-color: red;
            position: fixed;
            top:100px;left:0;
        }
        img{
            margin-left: 100px;
        }
    </style>
</head>

<body>
<div id="d1"></div>
<div id="d2"></div>
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
<img src="../day05/b.jpg" alt="">
</body>
</html>